package com.qf.ge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName(value = "t_admin_user")
public class TAdminUser {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 登陆用户名
     */
    @TableField(value = "usercode")
    private String usercode;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 真实姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 状态，1有效 0无效
     */
    @TableField(value = "status")
    private Short status;

    @TableField(value = "clientid")
    private Integer clientid;

    public static final String COL_ID = "id";

    public static final String COL_PASSWORD = "password";

    public static final String COL_USERCODE = "usercode";

    public static final String COL_EMAIL = "email";

    public static final String COL_REAL_NAME = "real_name";

    public static final String COL_STATUS = "status";

    public static final String COL_CLIENTID = "clientid";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取密码
     *
     * @return password - 密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置密码
     *
     * @param password 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取登陆用户名
     *
     * @return usercode - 登陆用户名
     */
    public String getUsercode() {
        return usercode;
    }

    /**
     * 设置登陆用户名
     *
     * @param usercode 登陆用户名
     */
    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    /**
     * 获取邮箱
     *
     * @return email - 邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置邮箱
     *
     * @param email 邮箱
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取真实姓名
     *
     * @return real_name - 真实姓名
     */
    public String getRealName() {
        return realName;
    }

    /**
     * 设置真实姓名
     *
     * @param realName 真实姓名
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * 获取状态，1有效 0无效
     *
     * @return status - 状态，1有效 0无效
     */
    public Short getStatus() {
        return status;
    }

    /**
     * 设置状态，1有效 0无效
     *
     * @param status 状态，1有效 0无效
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * @return clientid
     */
    public Integer getClientid() {
        return clientid;
    }

    /**
     * @param clientid
     */
    public void setClientid(Integer clientid) {
        this.clientid = clientid;
    }
}